<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <title>index1</title>
  <!-- 引入Vue -->
  <script type="text/javascript" src="../../js/vue.js"></script>
</head>

<body>
  <!-- 准备好一个容器-->
  <div id="demo">
    <ul>
      <li v-for="m in mesArr" :key="m.id">{{m.name}}</li>
    </ul>
  </div>
</body>

<script type="text/javascript">
  new Vue({
    el: '#demo',
    data() {
      return {
        mesArr: [
          { id: '54798', name: '张三', age: 789 },
          { id: '5423', name: '李四', age: 23 },
          { id: '8963', name: '王五', age: 65 }
        ]
      }
    }
  })
</script>

</html>